
import xadmin
from django.urls import path,re_path,include
from django.conf import settings
from django.views.static import serve
from xadmin.plugins import xversion
xversion.register_models()

urlpatterns = [
    path(r'xadmin/', xadmin.site.urls),

    path('user/',include('user.urls')),

    re_path('^media/(?P<path>.*)',serve,{'document_root': settings.MEDIA_ROOT})

]
